<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body>
<div class="panel-body" style="padding-bottom:0px;height: 100%">
    <!--第一部分:查询条件-->
    <div id="search-div" class="panel panel-default">
        <div class="panel-heading">
            <span>查询条件</span>
            <div class="btn-group">
                <button type="button" class="btn btn-success" onclick="search()">查询</button>
                <button type="button" class="btn btn-secondary" onclick="resetform()">重置</button>
            </div>
        </div>
        <div class="panel-body">
            <form id="formSearch" class="form-horizontal">
                <div class="form-group">
                    <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">
                        <input id="searchName" type="text" class="form-control" placeholder="">
                    </div>
                </div>
            </form>
        </div>
    </div>
    <!--第二部分:表格工具栏-->
    <div id="exampleToolbar" class="btn-group">
        <button  type="button" class="btn  btn-primary" onclick="add()">
            <i class="fa fa-plus" aria-hidden="true"></i>添加
        </button>
        <button  type="button" class="btn  btn-danger"
                onclick="batchRemove()">
            <i class="fa fa-trash" aria-hidden="true"></i>删除
        </button>
    </div>
    <!--第三部分:表格-->
    <table id="exampleTable" class="text-nowrap" data-mobile-responsive="true"></table>
</div>
<div th:include="include :: footer"></div>
<script type="text/javascript" th:src="@{/app/${sname}/${sname}.js}"></script>
</body>
</html>